using System.Collections.Generic;
using System.Runtime.Serialization;

namespace FU.Capstones.IMS.Services.Common.DataContracts
{
    [DataContract(Namespace = InventoryConstants.ServiceNamespace)]
    public class Partner
    {
        [DataMember]
        public int PartnerID { get; set; }

        [DataMember]
        public string PartnerCode { get; set; }

        [DataMember]
        public string CompanyName { get; set; }

        [DataMember]
        public string OfficePhone { get; set; }

        [DataMember]
        public string MobilePhone { get; set; }

        [DataMember]
        public string Address { get; set; }

        [DataMember]
        public string Email { get; set; }

        [DataMember]
        public int Rating { get; set; }
        
        [DataMember]
        public string Description { get; set; }

        [DataMember]
        public string Fax { get; set; }

        [DataMember]
        public bool IsDelete { get; set; }

        [DataMember]
        public List<Contact> ContactCollection { get; set; }

        [DataMember]
        public bool? IsSupplier { get; set; }
    }
}
